/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.cookor.poi.modules.weixin.entity;

import org.hibernate.validator.constraints.Length;

import com.cookor.poi.common.persistence.DataEntity;

/**
 * 诊所配置Entity
 * @author poi
 * @version 2021-03-16
 */
public class TWeixinClinic extends DataEntity<TWeixinClinic> {

	private static final long serialVersionUID = 1L;
	private String uniacid;		// 公众号ID
	private TWeixinConfig weixinConfig;

	public TWeixinClinic() {
		super();
	}

	public TWeixinClinic(String id){
		super(id);
	}

	@Length(min=0, max=32, message="公众号ID长度必须介于 0 和 32 之间")
	public String getUniacid() {
		return uniacid;
	}

	public void setUniacid(String uniacid) {
		this.uniacid = uniacid;
	}

	public TWeixinConfig getWeixinConfig() {
		return weixinConfig;
	}

	public void setWeixinConfig(TWeixinConfig weixinConfig) {
		this.weixinConfig = weixinConfig;
	}
}
